Achieveing reliable UDP transmission at 10 Gb/s using BSD socket for data acquisition systems
نویسندگان
چکیده
User Datagram Protocol (UDP) is a commonly used protocol for data transmission in small embedded systems. UDP as such is unreliable and packet losses can occur. The achievable data rates can suffer if optimal packet sizes are not used. The alternative, Transmission Control Protocol (TCP) guarantees the ordered delivery of data and automatically adjusts transmission to match the capability of the transmission link. Nevertheless UDP is often favored over TCP due to its simplicity, small memory and instruction footprints. Both UDP and TCP are implemented in all larger operating systems and commercial embedded frameworks. In addition UDP also supported on a variety of small hardware platforms such as Digital Signal Processors (DSP) Field Programmable Gate Arrays (FPGA). This is not so common for TCP. This paper describes how high speedUDPbased data transmissionwith very low packet error ratioswas achieved. The near-reliable communications link is used in a data acquisition (DAQ) system for the next generation of extremely intense neutron source, European Spallation Source. This paper presents measurements of UDP performance and reliability as achieved by employing several optimizations. The measurements were performed on Xeon E5 based CentOS (Linux) servers. The measured data rates are very close to the 10 Gb/s line rate, and zero packet loss was achieved. The performance was obtained utilizing a single processor core as transmitter and a single core as receiver. The results show that support for transmitting large data packets is a key parameter for good performance. Optimizations for throughput are: MTU, packet sizes, tuning Linux kernel parameters, thread affinity, core locality and efficient timers.
منابع مشابه
Designing and implementing a new type of transport-layer socket: the UDTCP socket case
On most operating systems, the UDP and TCP sockets are the two main types of sockets used to provide transport-layer networking services. However, for several reasons, UDP and TCP sockets are unsuitable for transporting delay-sensitive but error-tolerant streaming data such as the data generated by multimedia streaming applications. In this paper, we create a new type of socket that is suitable...
متن کاملHigh-performance TCP/IP and UDP/IP Networking in DEC OSF/1 for Alpha AXP
1 Abstract The combination of the Alpha AXP workstations, the DEC FDDIcontroller /TURBOchannel network interface, the DEC OSF/1 AXP operating system, and a streamlined implementation of the TCP/IP and UDP/IP delivers to user applications almost the full FDDI bandwidth of 100 Mb/s. This combination eliminates the network I/O bottleneck for distributed systems. The TCP /IP implementation includes...
متن کاملProposed Optimization Method in Network Based DAC Software - a Literature Review
VME based Ion Cyclotron Resonance Heating (ICRH) Data Acquisition Control system (DAC) is commissioned for remote operation of heating experiment on SST-1 tokamak. Linux client software of DAC using has been connected with Ethernet network. DAC client acts as Experimental Physics and Industrial Control System (EPICS) (Input/ Output Controller) IOC server which is used for other Ethernet connect...
متن کاملA Complete Secure Transport Service in the Internet
designed for the COMANDOS1 [1] distributed operating system platform, which may run on bare machines or over UNIX environments, using Internet protocols as a communication infrastructure. A secure transport service for secure communications between kernels was developed. As kernels use different transport protocols like TCP and UDP in broadcast, we implemented a general secure transport service...
متن کاملSCI SOCKET - A Fast Socket Implementation over SCI
In this paper we introduce a very low latency implementation of the Berkeley Sockets interface on top of the Dolphin SCI interconnect. Average one byte latencies as low as 2.31 microseconds are achieved. To our knowledge, this is the fastest sockets implementation in terms of latency. SCI SOCKET combines outstanding performance and seamless integration with legacy applications. This enables net...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1706.00333 شماره
صفحات -
تاریخ انتشار 2017